<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>ligin</title>
    <%- include conmon %>
</head>

<body>
    <!-- 头部结构 -->
    <%- include('header',{title:"login"}) %>

    <div class="container-fluid">
        <div class="row">
            <div class="col-md-4">
                <h2 class="text-info">登录页面</h2>
                <form action="/users/login" method="POST" class="form-horizontal">
                    <div class="form-group">
                        <label for="username" class="col-sm-2 control-label">用户名</label>
                        <div class="col-sm-10">
                            <input name="username" value="<%- username %>" type="text" class="form-control"
                                id="username" placeholder="请输入用户名">
                        </div>
                    </div>
                    <div class="form-group">
                        <label for="password" class="col-sm-2 control-label">密码</label>
                        <div class="col-sm-10">
                            <input name="password" type="password" class="form-control" id="password"
                                placeholder="请输入密码">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-sm-offset-2 col-sm-10">
                            <button type="submit" class="btn btn-primary">登录</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
    
    <!-- 尾部结构 -->
    <%- include('footer',{title:"公用尾部结构"}) %>
</body>

</html>